DataCollection | ComponentOne
C1.DataCollection.AdoNet Assembly / C1.DataCollection.AdoNet Namespace / C1AdoNetVirtualDataCollection Class / SortAsync Method / SortAsync(SortDescription[],CancellationToken) Method
The sort descriptions that determine how the data will be sort.
The cancellation token.

In This Topic
    SortAsync(SortDescription[],CancellationToken) Method
    In This Topic
    Sorts the collection according to the specified sort descriptions.
    Syntax
    'Declaration
     
    Public Overloads Function SortAsync( _
       ByVal sortDescriptions() As SortDescription, _
       Optional ByVal cancellationToken As CancellationToken _
    ) As Task

    Parameters

    sortDescriptions
    The sort descriptions that determine how the data will be sort.
    cancellationToken
    The cancellation token.
    See Also